package com.ezops.poc.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * Persistance selects the strategy for persisting the client trade files.
 * 
 * @author vgaurav
 * 
 */
@Component
public class EzopsClientModelPesistanceManager {

	Logger logger = LoggerFactory
			.getLogger(EzopsClientModelPesistanceManager.class);

	/**
	 * Return the strategy for perssisting file model based on client and asset
	 * combination. TODO - In future we can create different strategy for
	 * different client and asset.
	 * 
	 * @param clientId
	 * @param assetId
	 * @return
	 */
	public EzopsPersistanceStrategy getStrategy(int clientId, int assetId) {
		return new DefaultClientFilePersistanceStrategy();
	}
}
